/// last_version : "1.0.0"
/// config_url : ""
/// url : "https://cdn.8btc.com/8BTC.apk"
/// force_update : false
/// info : "趣会android发布第一版"

class AppVersion {
  String _lastVersion;
  String _configUrl;
  String _url;
  bool _forceUpdate;
  String _info;

  String get lastVersion => _lastVersion;
  String get configUrl => _configUrl;
  String get url => _url;
  bool get forceUpdate => _forceUpdate;
  String get info => _info;

  AppVersion({
      String lastVersion, 
      String configUrl, 
      String url, 
      bool forceUpdate, 
      String info}){
    _lastVersion = lastVersion;
    _configUrl = configUrl;
    _url = url;
    _forceUpdate = forceUpdate;
    _info = info;
}

  AppVersion.fromJson(dynamic json) {
    _lastVersion = json["last_version"];
    _configUrl = json["config_url"];
    _url = json["url"];
    _forceUpdate = json["force_update"];
    _info = json["info"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["last_version"] = _lastVersion;
    map["config_url"] = _configUrl;
    map["url"] = _url;
    map["force_update"] = _forceUpdate;
    map["info"] = _info;
    return map;
  }

}